package com.ishow.core.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableName;

@TableName("example")
public class ExampleEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	private Integer id;

	private String name;

	private String sex;

	private Date createTime;

	private Integer status;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex == null ? null : sex.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", name=").append(name);
		sb.append(", sex=").append(sex);
		sb.append(", createTime=").append(createTime);
		sb.append(", status=").append(status);
		sb.append("]");
		return sb.toString();
	}
}